package DALFacades;

import java.util.Collection;
import java.util.List;

import DomainLayer.FeedBackEntity;
import DomainLayer.UserEntity;
import DomainLayer.Common.*;

public interface IFacade {
	

	UserEntity GetUserEntityByLoginAndPassword(final String login,
			final String password) throws Throwable;

	Collection<FeedBackEntity> GetFeedBackEntity() throws Throwable;

	Boolean SetFeedBackEntity(String message, String from, String page)
			throws Throwable;

	UserEntity AuthentificationByLoginAndPassword(final String login,
			final String password) throws Throwable;

	Boolean UpdateUser(final UserEntity user) throws Throwable;


	UserEntity GetUserById(int id);


	Boolean AddUser(String firstName, String secondName, String middleName,
			String login, String password, String gender, Integer age,
			String sessionId, String lastIP) throws Throwable;

	Boolean ChangeUser(String firstName, String secondName, String middleName,
			String login, String password, String gender, Integer age)
			throws Throwable;

}
